package com.routz.nettydemo.customprotocol.entity;

/**
 *  数据包尾
 *      保留字 6byte
 *      脚环数目
 *      结束字节 0x2f
 *      校验和 2byte
 */
public class PacketTail {

    private Byte braceletSize;
    private Byte tailSign;
    private Integer checksum;
    private String carNumLast;

    public PacketTail() {
    }

    public PacketTail(Byte braceletSize, Byte tailSign, Integer checksum, String carNumLast) {
        this.braceletSize = braceletSize;
        this.tailSign = tailSign;
        this.checksum = checksum;
        this.carNumLast = carNumLast;
    }

    public Byte getBraceletSize() {
        return braceletSize;
    }

    public void setBraceletSize(Byte braceletSize) {
        this.braceletSize = braceletSize;
    }

    public Byte getTailSign() {
        return tailSign;
    }

    public void setTailSign(Byte tailSign) {
        this.tailSign = tailSign;
    }

    public Integer getChecksum() {
        return checksum;
    }

    public void setChecksum(Integer checksum) {
        this.checksum = checksum;
    }

    public String getCarNumLast() {
        return carNumLast;
    }

    public void setCarNumLast(String carNumLast) {
        this.carNumLast = carNumLast;
    }
}
